// 用户相关路由
import User from '@/components/header/user/User.vue'
import Home from '@/components/header/user/home/Home.vue';
import Mess from '@/components/header/user/Mess.vue';
import Level from '@/components/header/user/Level.vue';
import Vip from '@/components/header/user/Vip.vue';
import Authentication from '@/components/header/user/Authentication.vue';
import Exit from '@/components/header/user/Exit.vue';
import Set from './set.js'

const user = [
    {
        path: '/user',
        component: User,
        children: [
            {
                path: 'home',
                component: Home,
                name: 'home'
            },
            {
                path: 'mess',
                component: Mess,
                name: 'mess'
            },
            {
                path: 'level',
                component: Level,
                name: 'level'
            },
            {
                path: 'vip',
                component: Vip,
                name: 'vip'
            },
            {
                path: 'authentication',
                component: Authentication,
                name: 'authentication'
            },
            {
                path: 'exit',
                component: Exit,
                name: 'exit'
            },
            ...Set
        ]
    }
]

export default user;